class News:
    def __init__(self):
        self.title = ''
        self.link = ''
        self.author = ''
        self.publish_time = ''

    def __str__(self):
        return (f"标题: {self.title}, "
                f"链接: {self.link}, "
                f"作者: {self.author}, "
                f"发布时间: {self.publish_time}")
